//
//  NSAttributedString+AttributedStringConfig.h
//  MyFunctionDemo
//
//  Created by Ting Han on 2017/9/1.
//  Copyright © 2017年 Ting Han. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AttributedStringConfig.h"

@interface NSAttributedString (AttributedStringConfig)

//在调用的时候，在configs中添加AttributedStringConfig的Item ,nsrange无效果
+ (instancetype)attributedStringWithString:(NSString *)string config:(void (^)(NSMutableArray <AttributedStringConfig *> *configs))configBlock;

@end
